import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'

// 导入ant
import React, { useState } from 'react';
import { render } from 'react-dom';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import zhCN from 'antd/locale/zh_CN';
import 'antd/dist/reset.css';


dayjs.locale('zh-cn');
import { RouterProvider  } from 'react-router-dom'
import router from './router/index.jsx';
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <RouterProvider router={router} />
)
